package ui.core 
{
	import flash.events.IEventDispatcher;
	import flash.geom.Point;

	
	/**
	 * ...
	 * @author SChabanov
	 */
	public interface IBaseComponent
	{
		
		[Event( type="created",type="ui.core.SEvent")]
		[Event( type="destroyed",type="ui.core.SEvent")]
		
		function get name():String
		
		function move(x:Number, y:Number):void;
		function setSize(w:Number, h:Number):void;

		function invalidate():void;
		
		function enabled(value:Boolean):void;
		
		function set x(value:Number):void;
		function set y(value:Number):void;

		function get size():Size;
		function get position():Point;

	}
	
}